package com.x25175.file.mapper;

import com.x25175.file.entity.User;

import java.util.List;

/**
 * @author 徐佳辉
 * @date 2020/11/18 15:32
 */
public interface UserMapper {

    int deleteByPrimaryKey(Integer userId);

    int insert(User user);

    int insertSelective(User user);

    int updateByPrimaryKeySelective(User user);

    int updateByPrimaryKey(User user);

    User selectByUserId(Integer userId);

    User selectByUserName(String name);

//    List<User> findPageWithResult(UserDTO userDTO);
//
//    Integer findPageWithCount(UserDTO userDTO);

}
